package pers.hubb.mapper;

import org.apache.ibatis.annotations.*;
import pers.hubb.domain.TUserDO;

import java.util.List;

public interface ITUserDOMapper {

	int add(@Param("realName") String realName, @Param("nickName") String nickName);

	int update(@Param("real_name") String realName, @Param("nick_name") String nickName, @Param("id") Long id);

	int delete(Long id);

	TUserDO findTUserDO(@Param("id") Long id);

	List<TUserDO> findTUserDOList();

}
